﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:mr="http://mishrareader.codeplex.com/Reader">

    <Style TargetType="{x:Type mr:StepControl}">
        <Setter Property="TransitionStoryboard">
            <Setter.Value>
                <Storyboard>
                    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(TranslateTransform.Y)">
                        <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="25"/>
                        <EasingDoubleKeyFrame KeyTime="0:0:0.25" Value="0">
                            <EasingDoubleKeyFrame.EasingFunction>
                                <ExponentialEase EasingMode="EaseOut" Exponent="4" />
                            </EasingDoubleKeyFrame.EasingFunction>
                        </EasingDoubleKeyFrame>
                    </DoubleAnimationUsingKeyFrames>
                </Storyboard>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type mr:StepControl}">

                    <ContentPresenter x:Name="PART_SelectedContentHost" Content="{TemplateBinding SelectedContent}">
                        <ContentPresenter.RenderTransform>
                            <TransformGroup>
                                <TranslateTransform />
                                <RotateTransform />
                                <ScaleTransform />
                            </TransformGroup>
                        </ContentPresenter.RenderTransform>
                    </ContentPresenter>

                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
    <Style TargetType="{x:Type mr:AnimatedTile}" BasedOn="{StaticResource {x:Type mr:StepControl}}">
        
    </Style>
    
</ResourceDictionary>